Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 과제 설명
Order, order_item, item의 연관관계 매핑을 실습해본다.
👩💻 요구 사항과 구현 내용
✅ PR 포인트 & 궁금한 점
cascade의 remove와 orphanRemoval = true의 차이점이 무엇일까요?
블로그 링크를 통해서 찾아 보았는데 잘 이해가 가지 않네요.
영한님 강의에서는 연관관계 편의 메서드 (값 세팅하는 메서드)는 둘 중 하나 정해서 생성하라고 하는데, fk가 있는 곳을 정해 세팅하는것이 맞을까요?